/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package eventxmlparser;

/**
 *
 * @author krist_000
 */
public class Transition {
    private TransitionDestination from;
    private TransitionDestination to;

    public TransitionDestination getFrom() {
        return from;
    }

    public void setFrom(TransitionDestination from) {
        this.from = from;
    }

    public TransitionDestination getTo() {
        return to;
    }

    public void setTo(TransitionDestination to) {
        this.to = to;
    }

    @Override
    public String toString() {
        return "Transition from " + from.toString() + " to " + to.toString() + "\n";
    }
    
    
}
